.class public Ldata/ShopData3;
.super Landroid/widget/BaseAdapter;
.source "ShopData3.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Ldata/ShopData3$MyHolder;
    }
.end annotation


# instance fields
.field c:Landroid/content/Context;

.field public imageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

.field lf:Landroid/view/LayoutInflater;

.field ls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/ShopBean;",
            ">;"
        }
    .end annotation
.end field

.field m:Lmyapp/MyApp;

.field private mListView:Landroid/widget/ListView;

.field showdisticnt:I


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/List;Landroid/content/Context;Landroid/widget/ListView;I)V
    .locals 3
    .param p1, "context"    # Landroid/content/Context;
    .param p3, "cc"    # Landroid/content/Context;
    .param p4, "dd"    # Landroid/widget/ListView;
    .param p5, "showdisticnt"    # I
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/List",
            "<",
            "Lbean/ShopBean;",
            ">;",
            "Landroid/content/Context;",
            "Landroid/widget/ListView;",
            "I)V"
        }
    .end annotation

    .prologue
    .line 51
    .local p2, "list":Ljava/util/List;, "Ljava/util/List<Lbean/ShopBean;>;"
    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    .line 52
    check-cast p3, Lmyapp/MyApp;

    .end local p3    # "cc":Landroid/content/Context;
    iput-object p3, p0, Ldata/ShopData3;->m:Lmyapp/MyApp;

    .line 53
    iput-object p1, p0, Ldata/ShopData3;->c:Landroid/content/Context;

    .line 54
    iput-object p2, p0, Ldata/ShopData3;->ls:Ljava/util/List;

    .line 55
    iput p5, p0, Ldata/ShopData3;->showdisticnt:I

    .line 56
    iput-object p4, p0, Ldata/ShopData3;->mListView:Landroid/widget/ListView;

    .line 58
    new-instance v1, Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;

    invoke-direct {v1, p1}, Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;-><init>(Landroid/content/Context;)V

    .line 59
    const/4 v2, 0x3

    invoke-virtual {v1, v2}, Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;->threadPriority(I)Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;

    move-result-object v1

    invoke-virtual {v1}, Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;->denyCacheImageMultipleSizesInMemory()Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;

    move-result-object v1

    .line 60
    new-instance v2, Lcom/nostra13/universalimageloader/cache/disc/naming/Md5FileNameGenerator;

    invoke-direct {v2}, Lcom/nostra13/universalimageloader/cache/disc/naming/Md5FileNameGenerator;-><init>()V

    invoke-virtual {v1, v2}, Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;->diskCacheFileNameGenerator(Lcom/nostra13/universalimageloader/cache/disc/naming/FileNameGenerator;)Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;

    move-result-object v1

    .line 61
    sget-object v2, Lcom/nostra13/universalimageloader/core/assist/QueueProcessingType;->LIFO:Lcom/nostra13/universalimageloader/core/assist/QueueProcessingType;

    invoke-virtual {v1, v2}, Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;->tasksProcessingOrder(Lcom/nostra13/universalimageloader/core/assist/QueueProcessingType;)Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;

    move-result-object v1

    invoke-virtual {v1}, Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;->build()Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration;

    move-result-object v0

    .line 62
    .local v0, "config":Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration;
    invoke-static {}, Lcom/nostra13/universalimageloader/core/ImageLoader;->getInstance()Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/nostra13/universalimageloader/core/ImageLoader;->init(Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration;)V

    .line 63
    invoke-static {}, Lcom/nostra13/universalimageloader/core/ImageLoader;->getInstance()Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v1

    iput-object v1, p0, Ldata/ShopData3;->imageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    .line 64
    return-void
.end method

.method public static getDefaultOptions()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;
    .locals 2

    .prologue
    const v1, 0x7f020046

    .line 346
    new-instance v0, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    invoke-direct {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;-><init>()V

    .line 347
    .local v0, "b":Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;
    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageForEmptyUri(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    .line 348
    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnFail(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    .line 349
    const v1, 0x7f0200a2

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnLoading(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    .line 350
    sget-object v1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->resetViewBeforeLoading(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    .line 351
    sget-object v1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheOnDisk(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    .line 352
    sget-object v1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheInMemory(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    .line 353
    sget-object v1, Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;->EXACTLY_STRETCHED:Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->imageScaleType(Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    .line 354
    sget-object v1, Landroid/graphics/Bitmap$Config;->RGB_565:Landroid/graphics/Bitmap$Config;

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->bitmapConfig(Landroid/graphics/Bitmap$Config;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v1

    invoke-virtual {v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->build()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v1

    return-object v1
.end method

.method public static seth2(Landroid/widget/ListView;)V
    .locals 7
    .param p0, "listView"    # Landroid/widget/ListView;

    .prologue
    const/4 v6, 0x0

    .line 363
    if-nez p0, :cond_1

    .line 383
    :cond_0
    :goto_0
    return-void

    .line 365
    :cond_1
    invoke-virtual {p0}, Landroid/widget/ListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v1

    .line 366
    .local v1, "listAdapter":Landroid/widget/ListAdapter;
    if-eqz v1, :cond_0

    .line 370
    const/4 v4, 0x0

    .line 371
    .local v4, "totalHeight":I
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_1
    invoke-interface {v1}, Landroid/widget/ListAdapter;->getCount()I

    move-result v5

    if-lt v0, v5, :cond_2

    .line 379
    invoke-virtual {p0}, Landroid/widget/ListView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v3

    .line 381
    .local v3, "params":Landroid/view/ViewGroup$LayoutParams;
    invoke-virtual {p0}, Landroid/widget/ListView;->getDividerHeight()I

    move-result v5

    invoke-interface {v1}, Landroid/widget/ListAdapter;->getCount()I

    move-result v6

    add-int/lit8 v6, v6, -0x1

    mul-int/2addr v5, v6

    add-int/2addr v5, v4

    .line 380
    iput v5, v3, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 382
    invoke-virtual {p0, v3}, Landroid/widget/ListView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0

    .line 372
    .end local v3    # "params":Landroid/view/ViewGroup$LayoutParams;
    :cond_2
    const/4 v5, 0x1

    if-gt v0, v5, :cond_3

    .line 373
    const/4 v5, 0x0

    invoke-interface {v1, v0, v5, p0}, Landroid/widget/ListAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    .line 374
    .local v2, "listItem":Landroid/view/View;
    invoke-virtual {v2, v6, v6}, Landroid/view/View;->measure(II)V

    .line 375
    invoke-virtual {v2}, Landroid/view/View;->getMeasuredHeight()I

    move-result v5

    add-int/2addr v4, v5

    .line 371
    .end local v2    # "listItem":Landroid/view/View;
    :cond_3
    add-int/lit8 v0, v0, 0x1

    goto :goto_1
.end method


# virtual methods
.method public getCount()I
    .locals 1

    .prologue
    .line 69
    iget-object v0, p0, Ldata/ShopData3;->ls:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1
    .param p1, "position"    # I

    .prologue
    .line 75
    const/4 v0, 0x0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2
    .param p1, "position"    # I

    .prologue
    .line 81
    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 12
    .param p1, "position"    # I
    .param p2, "convertView"    # Landroid/view/View;
    .param p3, "parent"    # Landroid/view/ViewGroup;

    .prologue
    const/4 v11, 0x0

    const/4 v10, 0x0

    const/16 v9, 0x8

    .line 90
    if-nez p2, :cond_7

    .line 92
    new-instance v2, Ldata/ShopData3$MyHolder;

    invoke-direct {v2}, Ldata/ShopData3$MyHolder;-><init>()V

    .line 94
    .local v2, "holder":Ldata/ShopData3$MyHolder;
    iget-object v6, p0, Ldata/ShopData3;->c:Landroid/content/Context;

    invoke-static {v6}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v6

    const v7, 0x7f030098

    invoke-virtual {v6, v7, v11}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    .line 97
    const v6, 0x7f0c009b

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    iput-object v6, v2, Ldata/ShopData3$MyHolder;->shopname:Landroid/widget/TextView;

    .line 100
    const v6, 0x7f0c02cb

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    .line 99
    iput-object v6, v2, Ldata/ShopData3$MyHolder;->opentype:Landroid/widget/TextView;

    .line 103
    const v6, 0x7f0c0289

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    .line 102
    iput-object v6, v2, Ldata/ShopData3$MyHolder;->juli:Landroid/widget/TextView;

    .line 105
    const v6, 0x7f0c028a

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    .line 104
    iput-object v6, v2, Ldata/ShopData3$MyHolder;->addr:Landroid/widget/TextView;

    .line 107
    const v6, 0x7f0c02a8

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    .line 106
    iput-object v6, v2, Ldata/ShopData3$MyHolder;->shopinstro:Landroid/widget/TextView;

    .line 109
    const v6, 0x7f0c014a

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    .line 108
    iput-object v6, v2, Ldata/ShopData3$MyHolder;->pscost:Landroid/widget/TextView;

    .line 111
    const v6, 0x7f0c02fa

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    .line 110
    iput-object v6, v2, Ldata/ShopData3$MyHolder;->pscost2:Landroid/widget/TextView;

    .line 113
    const v6, 0x7f0c02f5

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/LinearLayout;

    iput-object v6, v2, Ldata/ShopData3$MyHolder;->llinear:Landroid/widget/LinearLayout;

    .line 115
    const v6, 0x7f0c027b

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    iput-object v6, v2, Ldata/ShopData3$MyHolder;->time:Landroid/widget/TextView;

    .line 116
    const v6, 0x7f0c02a7

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    iput-object v6, v2, Ldata/ShopData3$MyHolder;->tv_sellcount:Landroid/widget/TextView;

    .line 117
    const v6, 0x7f0c02fb

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    iput-object v6, v2, Ldata/ShopData3$MyHolder;->line:Landroid/widget/TextView;

    .line 118
    const v6, 0x7f0c00ef

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    iput-object v6, v2, Ldata/ShopData3$MyHolder;->line2:Landroid/view/View;

    .line 120
    const v6, 0x7f0c0285

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    iput-object v6, v2, Ldata/ShopData3$MyHolder;->xiuxi:Landroid/widget/TextView;

    .line 121
    const v6, 0x7f0c0248

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    iput-object v6, v2, Ldata/ShopData3$MyHolder;->yuding:Landroid/widget/TextView;

    .line 122
    const v6, 0x7f0c0286

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/RatingBar;

    iput-object v6, v2, Ldata/ShopData3$MyHolder;->ratingBar:Landroid/widget/RatingBar;

    .line 124
    const v6, 0x7f0c0284

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/ImageView;

    iput-object v6, v2, Ldata/ShopData3$MyHolder;->im_sendtype:Landroid/widget/ImageView;

    .line 125
    const v6, 0x7f0c0283

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/ImageView;

    iput-object v6, v2, Ldata/ShopData3$MyHolder;->im5:Landroid/widget/ImageView;

    .line 126
    const v6, 0x7f0c02f6

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/ListView;

    iput-object v6, v2, Ldata/ShopData3$MyHolder;->main_item_listview:Landroid/widget/ListView;

    .line 127
    const v6, 0x7f0c02f8

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    iput-object v6, v2, Ldata/ShopData3$MyHolder;->activityscount:Landroid/widget/TextView;

    .line 128
    const v6, 0x7f0c02f9

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/ImageView;

    iput-object v6, v2, Ldata/ShopData3$MyHolder;->openicon:Landroid/widget/ImageView;

    .line 129
    const v6, 0x7f0c02f7

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/LinearLayout;

    iput-object v6, v2, Ldata/ShopData3$MyHolder;->ll_activityscount:Landroid/widget/LinearLayout;

    .line 130
    new-instance v7, Ldata/Main_ShopActivitysAdapter;

    iget-object v8, p0, Ldata/ShopData3;->c:Landroid/content/Context;

    iget-object v6, p0, Ldata/ShopData3;->ls:Ljava/util/List;

    invoke-interface {v6, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lbean/ShopBean;

    invoke-virtual {v6}, Lbean/ShopBean;->getActivityBeans()Ljava/util/List;

    move-result-object v6

    invoke-direct {v7, v8, v6}, Ldata/Main_ShopActivitysAdapter;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v7, v2, Ldata/ShopData3$MyHolder;->adapter:Ldata/Main_ShopActivitysAdapter;

    .line 131
    invoke-virtual {p2, v2}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 138
    :goto_0
    iget-object v6, p0, Ldata/ShopData3;->ls:Ljava/util/List;

    invoke-interface {v6, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lbean/ShopBean;

    .line 141
    .local v0, "bb":Lbean/ShopBean;
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->adapter:Ldata/Main_ShopActivitysAdapter;

    invoke-virtual {v0}, Lbean/ShopBean;->getActivityBeans()Ljava/util/List;

    move-result-object v7

    invoke-virtual {v6, v7}, Ldata/Main_ShopActivitysAdapter;->setActivityBeans(Ljava/util/List;)V

    .line 142
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->main_item_listview:Landroid/widget/ListView;

    iget-object v7, v2, Ldata/ShopData3$MyHolder;->adapter:Ldata/Main_ShopActivitysAdapter;

    invoke-virtual {v6, v7}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 143
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->adapter:Ldata/Main_ShopActivitysAdapter;

    invoke-virtual {v6}, Ldata/Main_ShopActivitysAdapter;->notifyDataSetChanged()V

    .line 145
    invoke-virtual {v0}, Lbean/ShopBean;->getTag()Ljava/lang/String;

    move-result-object v6

    const-string v7, "0"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_8

    .line 146
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->main_item_listview:Landroid/widget/ListView;

    invoke-static {v6}, Ldata/ShopData3;->seth2(Landroid/widget/ListView;)V

    .line 151
    :goto_1
    invoke-virtual {v0}, Lbean/ShopBean;->getActivityBeans()Ljava/util/List;

    move-result-object v6

    invoke-interface {v6}, Ljava/util/List;->size()I

    move-result v6

    if-lez v6, :cond_9

    .line 152
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->line2:Landroid/view/View;

    invoke-virtual {v6, v10}, Landroid/view/View;->setVisibility(I)V

    .line 156
    :goto_2
    invoke-virtual {v0}, Lbean/ShopBean;->getActivityBeans()Ljava/util/List;

    move-result-object v6

    invoke-interface {v6}, Ljava/util/List;->size()I

    move-result v6

    const/4 v7, 0x2

    if-gt v6, v7, :cond_a

    .line 157
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->ll_activityscount:Landroid/widget/LinearLayout;

    invoke-virtual {v6, v9}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 165
    :goto_3
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->ll_activityscount:Landroid/widget/LinearLayout;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/LinearLayout;->setTag(Ljava/lang/Object;)V

    .line 167
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->ll_activityscount:Landroid/widget/LinearLayout;

    new-instance v7, Ldata/ShopData3$1;

    invoke-direct {v7, p0, v2}, Ldata/ShopData3$1;-><init>(Ldata/ShopData3;Ldata/ShopData3$MyHolder;)V

    invoke-virtual {v6, v7}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 191
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->shopname:Landroid/widget/TextView;

    invoke-virtual {v0}, Lbean/ShopBean;->getShopName()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 192
    invoke-virtual {v0}, Lbean/ShopBean;->getOpenType()Ljava/lang/String;

    move-result-object v1

    .line 197
    .local v1, "checkopen":Ljava/lang/String;
    const-string v6, "0"

    invoke-virtual {v1, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-nez v6, :cond_0

    const-string v6, "1"

    invoke-virtual {v1, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-nez v6, :cond_0

    const-string v6, "4"

    invoke-virtual {v1, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_b

    .line 198
    :cond_0
    const-string v6, "0"

    invoke-virtual {v1, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-nez v6, :cond_1

    const-string v6, "1"

    invoke-virtual {v1, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_2

    .line 199
    :cond_1
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->xiuxi:Landroid/widget/TextView;

    const-string v7, "\u5df2\u6253\u70ca ,\u6682\u4e0d\u63a5\u53d7\u9884\u8ba2"

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 202
    :cond_2
    const-string v6, "4"

    invoke-virtual {v1, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_3

    .line 203
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->xiuxi:Landroid/widget/TextView;

    const-string v7, "\u4f11\u606f\u4e2d ,\u6682\u4e0d\u63a5\u53d7\u9884\u8ba2"

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 206
    :cond_3
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->xiuxi:Landroid/widget/TextView;

    invoke-virtual {v6, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 207
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->juli:Landroid/widget/TextView;

    invoke-virtual {v6, v9}, Landroid/widget/TextView;->setVisibility(I)V

    .line 208
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->time:Landroid/widget/TextView;

    invoke-virtual {v6, v9}, Landroid/widget/TextView;->setVisibility(I)V

    .line 209
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->yuding:Landroid/widget/TextView;

    invoke-virtual {v6, v9}, Landroid/widget/TextView;->setVisibility(I)V

    .line 210
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->line:Landroid/widget/TextView;

    invoke-virtual {v6, v9}, Landroid/widget/TextView;->setVisibility(I)V

    .line 222
    :goto_4
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->ratingBar:Landroid/widget/RatingBar;

    const/4 v7, 0x1

    invoke-virtual {v6, v7}, Landroid/widget/RatingBar;->setIsIndicator(Z)V

    .line 223
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->ratingBar:Landroid/widget/RatingBar;

    invoke-virtual {v0}, Lbean/ShopBean;->getPoint()Ljava/lang/String;

    move-result-object v7

    invoke-static {v7}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/Integer;->intValue()I

    move-result v7

    invoke-virtual {v6, v7}, Landroid/widget/RatingBar;->setProgress(I)V

    .line 224
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->tv_sellcount:Landroid/widget/TextView;

    new-instance v7, Ljava/lang/StringBuilder;

    const-string v8, "\u5df2\u552e"

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Lbean/ShopBean;->getSellcount()Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, "\u5355"

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 227
    invoke-virtual {v0}, Lbean/ShopBean;->getsendtype()Ljava/lang/String;

    move-result-object v6

    const-string v7, "0"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_d

    .line 228
    iget-object v6, p0, Ldata/ShopData3;->m:Lmyapp/MyApp;

    invoke-virtual {v6}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v6

    const-string v7, "1"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_4

    .line 229
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->im_sendtype:Landroid/widget/ImageView;

    const v7, 0x7f0200b5

    invoke-virtual {v6, v7}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 231
    :cond_4
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->im_sendtype:Landroid/widget/ImageView;

    invoke-virtual {v6, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 238
    :goto_5
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->juli:Landroid/widget/TextView;

    invoke-virtual {v0}, Lbean/ShopBean;->getJuLi()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 239
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->addr:Landroid/widget/TextView;

    invoke-virtual {v0}, Lbean/ShopBean;->getAddress()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 241
    iget v6, p0, Ldata/ShopData3;->showdisticnt:I

    if-nez v6, :cond_10

    .line 242
    invoke-virtual {v0}, Lbean/ShopBean;->getpscost()Ljava/lang/String;

    move-result-object v3

    .line 243
    .local v3, "myvalue":Ljava/lang/String;
    invoke-virtual {v0}, Lbean/ShopBean;->getarrivetime()Ljava/lang/String;

    move-result-object v6

    const-string v7, ""

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-nez v6, :cond_5

    invoke-virtual {v0}, Lbean/ShopBean;->getarrivetime()Ljava/lang/String;

    move-result-object v6

    const-string v7, "null"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-nez v6, :cond_5

    invoke-virtual {v0}, Lbean/ShopBean;->getarrivetime()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v6, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_e

    :cond_5
    const-string v4, ""

    .line 246
    .local v4, "myvalue2":Ljava/lang/String;
    :goto_6
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->shopinstro:Landroid/widget/TextView;

    invoke-virtual {v0}, Lbean/ShopBean;->getLimitCost()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 247
    const-string v6, "0"

    invoke-virtual {v3, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_f

    .line 248
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->pscost:Landroid/widget/TextView;

    invoke-virtual {v6, v9}, Landroid/widget/TextView;->setVisibility(I)V

    .line 249
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->pscost2:Landroid/widget/TextView;

    const-string v7, "\u514d\u914d\u9001\u8d39"

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 254
    :goto_7
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->time:Landroid/widget/TextView;

    invoke-virtual {v6, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 261
    .end local v3    # "myvalue":Ljava/lang/String;
    .end local v4    # "myvalue2":Ljava/lang/String;
    :goto_8
    invoke-virtual {v0}, Lbean/ShopBean;->getShopImg()Ljava/lang/String;

    move-result-object v5

    .line 262
    .local v5, "strurl":Ljava/lang/String;
    iget-object v6, p0, Ldata/ShopData3;->m:Lmyapp/MyApp;

    invoke-virtual {v6}, Lmyapp/MyApp;->getloadimg()Z

    move-result v6

    if-nez v6, :cond_6

    .line 263
    iget-object v6, p0, Ldata/ShopData3;->imageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    iget-object v7, v2, Ldata/ShopData3$MyHolder;->im5:Landroid/widget/ImageView;

    invoke-static {}, Ldata/ShopData3;->getDefaultOptions()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v8

    invoke-virtual {v6, v5, v7, v8}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;)V

    .line 266
    :cond_6
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->llinear:Landroid/widget/LinearLayout;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/LinearLayout;->setTag(Ljava/lang/Object;)V

    .line 267
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->llinear:Landroid/widget/LinearLayout;

    new-instance v7, Ldata/ShopData3$2;

    invoke-direct {v7, p0}, Ldata/ShopData3$2;-><init>(Ldata/ShopData3;)V

    invoke-virtual {v6, v7}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 300
    return-object p2

    .line 134
    .end local v0    # "bb":Lbean/ShopBean;
    .end local v1    # "checkopen":Ljava/lang/String;
    .end local v2    # "holder":Ldata/ShopData3$MyHolder;
    .end local v5    # "strurl":Ljava/lang/String;
    :cond_7
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ldata/ShopData3$MyHolder;

    .restart local v2    # "holder":Ldata/ShopData3$MyHolder;
    goto/16 :goto_0

    .line 149
    .restart local v0    # "bb":Lbean/ShopBean;
    :cond_8
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->main_item_listview:Landroid/widget/ListView;

    invoke-static {v6}, Lmyapp/MyApp;->seth(Landroid/widget/ListView;)V

    goto/16 :goto_1

    .line 154
    :cond_9
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->line2:Landroid/view/View;

    invoke-virtual {v6, v9}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_2

    .line 160
    :cond_a
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->ll_activityscount:Landroid/widget/LinearLayout;

    invoke-virtual {v6, v10}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 161
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->activityscount:Landroid/widget/TextView;

    new-instance v7, Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Lbean/ShopBean;->getActivityBeans()Ljava/util/List;

    move-result-object v8

    invoke-interface {v8}, Ljava/util/List;->size()I

    move-result v8

    invoke-static {v8}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v8

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v8, "\u4e2a\u6d3b\u52a8"

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_3

    .line 212
    .restart local v1    # "checkopen":Ljava/lang/String;
    :cond_b
    const-string v6, "3"

    invoke-virtual {v1, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_c

    .line 213
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->yuding:Landroid/widget/TextView;

    invoke-virtual {v6, v10}, Landroid/widget/TextView;->setVisibility(I)V

    .line 214
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->yuding:Landroid/widget/TextView;

    new-instance v7, Ljava/lang/StringBuilder;

    const-string v8, "\u9884\u5b9a\u4e2d\uff0c"

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Lbean/ShopBean;->getPstime()Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, "\u70b9\u5f00\u59cb\u914d\u9001"

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 215
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->xiuxi:Landroid/widget/TextView;

    invoke-virtual {v6, v9}, Landroid/widget/TextView;->setVisibility(I)V

    .line 216
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->line:Landroid/widget/TextView;

    invoke-virtual {v6, v9}, Landroid/widget/TextView;->setVisibility(I)V

    .line 217
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->juli:Landroid/widget/TextView;

    invoke-virtual {v6, v9}, Landroid/widget/TextView;->setVisibility(I)V

    .line 218
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->time:Landroid/widget/TextView;

    invoke-virtual {v6, v9}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_4

    .line 220
    :cond_c
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->xiuxi:Landroid/widget/TextView;

    invoke-virtual {v6, v9}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_4

    .line 234
    :cond_d
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->im_sendtype:Landroid/widget/ImageView;

    invoke-virtual {v6, v9}, Landroid/widget/ImageView;->setVisibility(I)V

    goto/16 :goto_5

    .line 243
    .restart local v3    # "myvalue":Ljava/lang/String;
    :cond_e
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Lbean/ShopBean;->getarrivetime()Ljava/lang/String;

    move-result-object v7

    invoke-static {v7}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, "\u5206\u949f\u9001\u8fbe"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    goto/16 :goto_6

    .line 251
    .restart local v4    # "myvalue2":Ljava/lang/String;
    :cond_f
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->pscost:Landroid/widget/TextView;

    new-instance v7, Ljava/lang/StringBuilder;

    const-string v8, "\uffe5"

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v7, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_7

    .line 256
    .end local v3    # "myvalue":Ljava/lang/String;
    .end local v4    # "myvalue2":Ljava/lang/String;
    :cond_10
    iget-object v6, v2, Ldata/ShopData3$MyHolder;->shopinstro:Landroid/widget/TextView;

    invoke-virtual {v0}, Lbean/ShopBean;->getaddress()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_8
.end method
